window: Release application in destroy
authorMatthias Clasen <mclasen@redhat.com>
Wed, 23 Dec 2020 01:34:13 +0000 (20:34 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 23 Dec 2020 01:34:13 +0000 (20:34 -0500)
We used to do this; it was lost in some life-cycle
reshuffling.

gtk/gtkwindow.c

index 18177a204cfebd30b2f8730ce5a1a01b4261db81..dbd73bedfbff7211a6d9bf4291fe5d8c87c1b099 100644 (file)
@@ -6480,6 +6480,8 @@ gtk_window_destroy (GtkWindow *window)
 
   g_list_store_remove (toplevel_list, i);
 
+  gtk_window_release_application (window);
+
   gtk_widget_unrealize (GTK_WIDGET (window));
 
   g_object_unref (window);